package cn.alcatraz.org.domain;

import cn.alcatraz.basic.domain.BaseDomain;
import lombok.Data;

@Data
public class Employee extends BaseDomain {
    /* 员工姓名 */
    private String username;

    /* 员工手机号 */
    private String phone;

    /* 员工邮箱 */
    private String email;

    /* 密码盐值 */
    private String salt;

    /* 密码 */
    private String password;

    /* 员工年龄 */
    private Integer age;

    /* 部门id */
    private Long department_id;

    /* 登录信息id */
    private Long logininfo_id;

    /* 店铺id */
    private Long shop_id;

    /* 状态 */
    private Integer state;

    /* 部门 */
    private Department department;

    /* 店铺 */
    private Shop shop;

    /* 登录信息 */
    private LogInInfo logininfo;

    @Override
    public String toString() {
        return "Employee{" +
                "username='" + username + '\'' +
                ", phone='" + phone + '\'' +
                ", email='" + email + '\'' +
                ", salt='" + salt + '\'' +
                ", password='" + password + '\'' +
                ", age=" + age +
                ", department_id=" + department_id +
                ", logininfo_id=" + logininfo_id +
                ", shop_id=" + shop_id +
                ", state=" + state +
                ", department=" + department +
                ", shop=" + shop +
                ", logininfo=" + logininfo +
                "} " + super.toString();
    }
}
